﻿using System;
namespace PS.Model
{
	/// <summary>
	/// 公共资源管理
	/// </summary>
	[Serializable]
	public partial class RepResourceMang
	{
		public RepResourceMang()
		{}
		#region Model
		private int _represourcemangid;
		private string _resourcename;
		private string _resourcecode;
		private string _resourcemodel;
		private int? _resourcetype;
		private string _currentstatus;
		private string _memo;
		private string _spare1;
		private string _spare2;
		private string _spare3;
		private string _spare4;
		private int? _creator;
		private DateTime? _createtime= DateTime.Now;
		private int? _editor;
		private DateTime? _edittime= DateTime.Now;
		private int? _disporder=0;
		private int? _validmark=1;
		/// <summary>
		/// RepResourceMangID
		/// </summary>
		public int RepResourceMangID
		{
			set{ _represourcemangid=value;}
			get{return _represourcemangid;}
		}
		/// <summary>
		/// 资源名称
		/// </summary>
		public string ResourceName
		{
			set{ _resourcename=value;}
			get{return _resourcename;}
		}
		/// <summary>
		/// 资源编号
		/// </summary>
		public string ResourceCode
		{
			set{ _resourcecode=value;}
			get{return _resourcecode;}
		}
		/// <summary>
		/// 资源型号
		/// </summary>
		public string ResourceModel
		{
			set{ _resourcemodel=value;}
			get{return _resourcemodel;}
		}
		/// <summary>
		/// 资源类型   从字典表中获取
		/// </summary>
		public int? ResourceType
		{
			set{ _resourcetype=value;}
			get{return _resourcetype;}
		}
		/// <summary>
		/// 当前状态：备用、在用、修理
		/// </summary>
		public string CurrentStatus
		{
			set{ _currentstatus=value;}
			get{return _currentstatus;}
		}
		/// <summary>
		/// 备注
		/// </summary>
		public string Memo
		{
			set{ _memo=value;}
			get{return _memo;}
		}
		/// <summary>
		/// 扩展字段1
		/// </summary>
		public string Spare1
		{
			set{ _spare1=value;}
			get{return _spare1;}
		}
		/// <summary>
		/// 扩展字段2
		/// </summary>
		public string Spare2
		{
			set{ _spare2=value;}
			get{return _spare2;}
		}
		/// <summary>
		/// 扩展字段3
		/// </summary>
		public string Spare3
		{
			set{ _spare3=value;}
			get{return _spare3;}
		}
		/// <summary>
		/// 扩展字段4
		/// </summary>
		public string Spare4
		{
			set{ _spare4=value;}
			get{return _spare4;}
		}
		/// <summary>
		/// 创建人
		/// </summary>
		public int? Creator
		{
			set{ _creator=value;}
			get{return _creator;}
		}
		/// <summary>
		/// 创建时间
		/// </summary>
		public DateTime? CreateTime
		{
			set{ _createtime=value;}
			get{return _createtime;}
		}
		/// <summary>
		/// 修改人
		/// </summary>
		public int? Editor
		{
			set{ _editor=value;}
			get{return _editor;}
		}
		/// <summary>
		/// 修改时间
		/// </summary>
		public DateTime? EditTime
		{
			set{ _edittime=value;}
			get{return _edittime;}
		}
		/// <summary>
		/// 排序
		/// </summary>
		public int? DispOrder
		{
			set{ _disporder=value;}
			get{return _disporder;}
		}
		/// <summary>
		/// 是否有效(0:无效，1：有效。默认为1)
		/// </summary>
		public int? ValidMark
		{
			set{ _validmark=value;}
			get{return _validmark;}
		}
		#endregion Model

	}
}

